home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
util4
/
0utils.lha
/
0Utils
/
ReadLn.doc
< prev
next >
Wrap
Text File
|
1995-09-05
|
1KB
|
65 lines
NAME
ReadLn
SYNOPSIS
ReadLn - Read Line[s] from a filehandle - Requires v37
INPUTS
"FILEHANDLE/N/A,LINES/N/K"
DESCRIPTION
ReadLn reads linesfrom a filehandle previosly opened
with the 'Open' command. its purpose is to split the
contents of a certain file in order to be able to
handle it with different other commands, without a need
of using another scripting language (like e.g. ARexx).
ReadLn does no checks on the given filehandle, so
it should be used carefully.
RESULT
the read lines
NOTES
* CLI - only
* should compile with SAS-C
! ReadLn is highly dangerous! Do not Use it, !
! if U do not exactly know what U are doing! !
BUGS
EXAMPLES
> set fh `Open Sys:S/Shell-startup`
> Readln $fh
alias xcopy "copy clone "
> Close $fh
> Unset fh
HISTORY
21-02-95 b_noll created
21-02-95 b_noll added version/format-prefix/offset
20-03-95 b_noll added args diagnostics
20-03-95 b_noll ReadLn always skipped one line
19-08-95 b_noll created .data file
AUTHOR
Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
noll@student.uni-kl.de